﻿using Script.NetSystem.Services.RoomAndBattle.RoomService;
using Script.UiSystem.Room;
using SimpleTools.Json;

namespace Script.NetSystem.Services.RoomAndBattle.RoomService.Handler
{
    public class LeaveRoom : IRoomHandler
    {
        public void Handler(RoomController controller, JsonData jsonData)
        {

            controller.LeaveRoom(jsonData.GetInt("id"));
            
        }

    }
}